﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class ProcCube : MonoBehaviour {
    //void Cube()
    //{
    //    var sideLength = 5;
    //    var halfSide = sideLength * 0.5f;
    //    var ta = new Vector3(-halfSide, halfSide, halfSide);
    //    var tb = new Vector3(halfSide, halfSide, halfSide);
    //    var tc = new Vector3(-halfSide, halfSide, -halfSide);
    //    var td = new Vector3(halfSide, halfSide, -halfSide);

    //    var ba = new Vector3(-halfSide, -halfSide, halfSide);
    //    var bb = new Vector3(halfSide, -halfSide, halfSide);
    //    var bc = new Vector3(-halfSide, -halfSide, -halfSide);
    //    var bd = new Vector3(halfSide, -halfSide, -halfSide);
    //    vertsShared = new List<Vector3>(new Vector3[] { ta, tb, tc, td, ba, bb, bc, bd });
    //    quads.Add(new Quad(0, 1, 2, 3));//, Vector3.up)); // up
    //    quads.Add(new Quad(0, 1, 4, 5, true));//, Vector3.forward, true)); // forward
    //    quads.Add(new Quad(2, 3, 6, 7));//, Vector3.back)); // back
    //    quads.Add(new Quad(0, 2, 4, 6));//, Vector3.left)); // left
    //    quads.Add(new Quad(1, 3, 5, 7, true));//, Vector3.right, true)); // right
    //    quads.Add(new Quad(4, 5, 6, 7, true));//, Vector3.down, true)); // down

    //    ApplyMesh(quads, vertsShared);
    //}
    // Use this for initialization
    void Start () {
		
	}
	
	// Update is called once per frame
	void Update () {
		
	}
}
